package io.github.jsp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@MapperScan("io.github.jsp.dao")
public class JspApp {

    public static void main(String[] args) {
        SpringApplication.run(JspApp.class, args);

//        // 初始化调度器
//        TaskScheduler scheduler = TaskScheduler.getInstance();
//        scheduler.setTaskMapper(taskMapper);
//        scheduler.start();
    }
}
